package com.spm.dao;

import com.spm.pojo.Course;
import com.spm.pojo.CourseForCjw;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseMapper {
    int insertCourse(Course course);;
    Course selectCourseByCno(@Param("cno") String cno);

    List<Course> getAllCourses();

    int updateCourse(Course course);

    int deleteCourseByCno(@Param("cno") String cno);

}
